[Unit]
Description=Redis server
After=syslog.target network.target remote-fs.target nss-lookup.target

[Service]
User={{ owner }}
Group={{ group }}
Restart=on-failure
RestartSec=30
Type=forking
ExecStart={{ redis_install_path }}/redis/bin/redis-server {{ redis_install_path }}/redis/conf/redis.conf
ExecStop={{ redis_install_path }}/redis/bin/redis-cli shutdown
PrivateTmp=true

[Install]
WantedBy=multi-user.target
